import turtle
def click(x,y):
    turtle.goto(x,y)
def color():
    turtle.pencolor("red")
def ert():
    turtle.pencolor('yellow')
def colors():
    turtle.pencolor("blue")
def colort():
    turtle.pencolor('green')
turtle.onscreenclick(click)
turtle.onkeypress(color,'s')
turtle.onkeypress(ert,'a')
turtle.onkeypress(colors,'d')
turtle.onkeypress(colort,'w')
turtle.listen()
turtle.done()
